package com.tjise.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: tjise_parent
 * @description:
 * @author: 郑朝文
 * @create: 2021-06-23 09:27
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor

public class DemoData {

    // 设置Excel中表头的名称
    @ExcelProperty(value = "学生编号", index = 0)
    private Integer sno;
    // 设置Excel中表头的名称
    @ExcelProperty(value = "学生姓名", index = 1)
    private String sname;
}


